Update Readme.md
[EroSomnia.git] / Point and Click Game1 / Animation.h
blob16a87a146c6726158c31349816372ab738a3ab6d
1 #pragma once
2 #include <vector>
3 #include <SDL2/SDL.h>
6 class Animation
8 public:
9 Animation();
10 Animation(std::vector<SDL_Texture*> set);
11 ~Animation();
13 SDL_Texture* itterateAnimation(int framerate);
14 void destroyAnimation();
15 void resetAnimation();
16 bool checkDone();
18 int counter;
19 int gameFPS;
21 bool done;
23 int currentPosition;
24 int previousPosition;
25 int animationSize;
26 std::vector<SDL_Texture*> frames;